<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8"/>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1, user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="misapplication-tap-highlight" content="no"/>
		<meta name="HandheldFriendly" content="true"/>
		<meta name="MobileOptimized" content="320"/>
		<title>订单详情</title>
		<script type="text/javascript" src="../../js/common.js"></script>
		<!--<script type="text/javascript" src="../../js/update.js"></script>-->
		<script src="../../js/mui.min.js"></script>
		<script src="../../js/index.js"></script>
		<script src="../../js/jquery-1.9.1.min.js"></script>
		<script type="text/javascript" charset="utf-8">
		mui.plusReady(function() {
			var self = plus.webview.currentWebview();
			var type = self.type; //id
		    mui.ajax({ //ajax请求 
					url: getServerIp + 'AppCourse/myApplicationDetail',
					type: 'GET',
					data: {    
						id:type
					}, //传参 
					success: function(data, textStatus, jqXHR) {
						var list = data.userAppointment;
						$('#course_name').val(list.course_name);
						$('#center_name').val(list.center_name);
						$('#student_name').val(list.student_name);
						$('#student_sex').val(list.student_sex);
						$('#brithday').val(list.years);
						$('#parent_name').val(list.parent_name);
						$('#parent_sex').val(list.parent_sex);
						$('#phone').val(list.phone);
						$('#order_status').val(list.order_status);
					}
					});
        });
		</script>

		<link rel="stylesheet" href="../../css/mui.min.css">
		<style>
			html,
			body {
				background-color: #efeff4;
			}
			.mui-bar-nav~.mui-content {
				padding: 0;
			}
			.title {
				margin: 20px 15px 10px;
				color: #6d6d72;
				font-size: 15px;
				padding: 10px 0;
                border-bottom: 1px solid #ddd;
			}
			
			.mui-views,
			.mui-view,
			.mui-pages,
			.mui-page,
			.mui-page-content {
				position: absolute;
				left: 0;
				right: 0;
				top: 0;
				bottom: 0;
				width: 100%;
				height: 100%;
				background-color: #efeff4;
			}
			.mui-scroll-wrapper,
			.mui-scroll {
				background-color: #efeff4;
				top: 20px;
			}
			.mui-pages .mui-page {
				display: block;
			}
			.mui-page .mui-table-view:first-child {
				margin-top: 15px;
			}
			.mui-page .mui-table-view:last-child {
				margin-bottom: 30px;
			}
			.mui-table-view {
				margin-top: 20px;
			}
	</style>
	</head>
	<body>
		<header class="mui-bar mui-bar-nav">
			<button class="mui-action-back mui-btn mui-btn-blue mui-btn-link mui-btn-nav mui-pull-left">
				<span class="mui-icon mui-icon-left-nav" style="float: left;height: 40px;line-height: 40px;"></span>
				<img src="../../images/logo.png"  style=" height: 40px;"/>
			</button>
			<h1 class="mui-title">订单详情</h1>
		</header>
		
    <div class="mui-content" style="top: 45px; position: absolute;">
        <div class="detail_menu">
        	<p style="height: 30px;line-height: 30px;padding-left: 15px;margin-bottom: 0;">课程信息</p>
        </div>
		<div class="mui-content course_second" style="background: white;padding: 11px 15px;">
			<div class="mui-input-row" style="border-bottom: 1px solid #EFEFF4;">
				<label>课程名称：</label>
				<textarea readonly="readonly" type="text" id="course_name"></textarea>
			</div>
			<div class="mui-input-row">
				<label>机构名称：</label>
				<textarea readonly="readonly" type="text" id="center_name"></textarea>
			</div>
        </div>
        <div class="detail_menu">
        	<p style="height: 30px;line-height: 30px;padding-left: 15px;margin-bottom: 0;">学生信息</p>
        </div>
		<div class="mui-content course_second" style="background: white;padding: 11px 15px;">
			<div class="mui-input-row" style="border-bottom: 1px solid #EFEFF4;">
				<label>姓名：</label>
				<input readonly="readonly" type="text" id="student_name">
			</div>
			<div class="mui-input-row" style="border-bottom: 1px solid #EFEFF4;">
				<label>性别：</label>
				<input readonly="readonly" type="text" id="student_sex">
			</div>
			<div class="mui-input-row">
				<label>年龄：</label>
				<input readonly="readonly" type="text" id="brithday">
			</div>
        </div>
        <div class="detail_menu">
        	<p style="height: 30px;line-height: 30px;padding-left: 15px;margin-bottom: 0;">家长信息</p>
        </div>
		<div class="mui-content course_second" style="background: white;padding: 11px 15px;">
			<div class="mui-input-row" style="border-bottom: 1px solid #EFEFF4;">
				<label>联系人：</label>
				<input readonly="readonly" type="text"  id="parent_name">
			</div>
			<div class="mui-input-row" style="border-bottom: 1px solid #EFEFF4;">
				<label>性别：</label>
				<input readonly="readonly" type="text" id="parent_sex">
			</div>
			<div class="mui-input-row">
				<label>联系电话：</label>
				<input readonly="readonly" type="number" id="phone">
			</div>
        </div>
        <div class="detail_menu">
        	<p></p>
        </div>
		<div class="mui-content course_second" style="background: white;padding: 11px 15px;">
			<div class="mui-input-row">
				<label>订单状态：</label>
				<input readonly="readonly" type="text" placeholder="" style="border: 0;" id="order_status">
			</div>
        </div>
	
    </div>
	</body>
</html>